Kotools Types
1.3.1
4.5.3
4.5.2
4.5.1
4.5.0
4.4.2
4.3.1
4.2.0
4.1.0
4.0.1
3.2.0
2.0.0
1.3.1
Kotools Types
/
kotools.types.number
/
toNegativeIntOrNull
to
Negative
Int
Or
Null
@
SinceKotoolsTypes
(
version
=
"1.1"
)
fun
Int
.
toNegativeIntOrNull
(
)
:
NegativeInt
?
Returns this value as a negative int, or returns
null
if this value is strictly positive.